const path = require('path')
const { addDecoratorsLegacy, override, fixBabelImports } = require('customize-cra')
const custom = () => config => {
  config['resolve']['alias']['@'] = path.resolve('./src')
  return config
}
module.exports = override(
  addDecoratorsLegacy(),
  custom(),
  fixBabelImports('import', {
    libraryName: 'antd',
    libraryDirectory: 'es',
    style: 'css',
  }),
)



